package org.gardenXml.diMap;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestStudent {
    public static void main(String[] args) {
        ApplicationContext context =new ClassPathXmlApplicationContext("beanMapDi.xml");
        Student student = context.getBean("student",Student.class);
        student.studentRun();

//        ClassLoader classLoader = TestStudent.class.getClassLoader();
//        URL resource = classLoader.getResource("beanMapDi.xml");
//        System.out.println("Resource path: " + resource);
    }
}
